package cn.xuexiyuan.springstudy.core.demo04.entity;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimePrefix extends AbstractPrefix {
    @Override
    public String getPrefix() {
        SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss");
        return sdf.format(new Date());
    }
}
